package com.rceeslca.modules.log.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.rceeslca.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 操作日志
 * @author rceeslca
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("sys_log_operation")
public class SysLogOperationEntity extends BaseEntity {

    private static final long serialVersionUID = 3157922056181124009L;

    /**用户操作**/
    private String operation;

    /**请求URI**/
    private String requestUri;

    /**请求方式**/
    private String requestMethod;

    /**请求参数**/
    private String requestParams;

    /**请求时长(毫秒)**/
    private Integer requestTime;

    /**用户代理**/
    private String userAgent;

    /**操作IP**/
    private String ip;

    /**状态 0失败 1成功**/
    private Integer status;

    /**用户名**/
    private String creatorName;

}
